<?php
/*
  @Load php file on this folder
  @Author :  TT
  @packed by themecenter

*/
require_once(API_DIR.'/admin_options/options_config.php');
require_once(API_DIR.'/admin_options/options_generator.php');
$tt_Load_default_option = new tt_Options();
$tt_Load_default_option->tt_default_Options();

//Loat function api
require_once(API_DIR.'/function/api_get_options.php');
require_once(API_DIR.'/function/api_admin_bar.php');
require_once(API_DIR.'/function/api_common.php');
require_once(API_DIR.'/function/api_custom.php');
require_once(API_DIR.'/function/api_excerpt.php');
require_once(API_DIR.'/function/api_googlemap.php');
require_once(API_DIR.'/function/api_header.php');
require_once(API_DIR.'/function/api_pagination.php');
require_once(API_DIR.'/function/api_twitter.php');
require_once(API_DIR.'/function/api_video.php');
require_once(API_DIR.'/function/api_wp_check.php');
require_once(API_DIR.'/function/api_recaptchalib.php');

// Load Post type
require_once(API_DIR.'/types/type_portfolio.php');
require_once(API_DIR.'/types/type_slider.php');
require_once(API_DIR.'/types/type_testimonial.php');



//Load meta


require_once(API_DIR.'/metas/meta_generator.php');
if(get_theme_option('general', 'enable_seo')=='true')
{
require_once(API_DIR.'/metas/meta_seo.php');
}
require_once(API_DIR.'/metas/meta_slider.php');
require_once(API_DIR.'/metas/meta_tesimonial.php');
require_once(API_DIR.'/metas/meta_portfolio.php');
require_once(API_DIR.'/metas/meta_post.php');
require_once(API_DIR.'/metas/meta_page.php');



//Load Widget
require_once(API_DIR.'/widgets/widgets_sidebar.php');
require_once(API_DIR.'/widgets/widgets.php');

// Load shortcode
require_once(API_DIR.'/shortcode/shortcode.php');
require_once(API_DIR.'/shortcode/shortcodegen.php');
// For panel demo
$enable_demo_link = get_theme_option('general','enable_demo_link');
if($enable_demo_link =='true'):
  require_once(API_DIR.'/frontpage_options/panel.php');
endif;

?>